Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send email even if there was an exception in Preparsing #557

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tsujigiri
Copy link
Collaborator

When there is an exception in Preparse, the user never gets notified. This at least lets them know that something went wrong. I'm still looking for the cause of this specific error.

spec/workers/preparsing_spec.rb Outdated Show resolved Hide resolved
spec/workers/preparsing_spec.rb Outdated Show resolved Hide resolved
spec/workers/preparsing_spec.rb Outdated Show resolved Hide resolved
spec/workers/preparsing_spec.rb Outdated Show resolved Hide resolved
spec/workers/preparsing_spec.rb Show resolved Hide resolved
@tsujigiri tsujigiri changed the title Send email even if there was an exception in Preparse Send email even if there was an exception in Preparsing Jul 5, 2023
@tsujigiri
Copy link
Collaborator Author

Should we set it to not retry on error? The outcome wouldn't be different the next time around (unless we fix it in the meantime) and with this change, we would send the email on every try... 😬

@gedankenstuecke
Copy link
Member

Yeah, I think that's a fair point! I think we did do a retry as the task would sometimes unmotivatedly crash in the past. But let's assume that's solved? 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants